package com.qiang.demo01;

import com.qiang.demo01.damain.Generic;

public class GenericDemo1 {
    public static void main(String[] args) {
        Generic<String> st = new Generic<>();
        st.setT("杨幂");
        System.out.println(st);

        Generic<Integer> sb = new Generic<>();
        sb.setT(12);
        System.out.println(sb);
    }
}
